package com.lanxin.hr.service;

import com.lanxin.hr.entity.ZzDepartmentJob;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanxin.hr.vo.DepartmentJobVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-07-22
 */
public interface IZzDepartmentJobService extends IService<ZzDepartmentJob> {

    //联合查询部门下属的职位
    public List<DepartmentJobVo> selectDepartmentJobByDId(String dId);

    //删除部门对应的职位
    public int deleteDepartmentJobByDId(Integer deptId);

    //添加部门中的职位
    public int addDeptJob(ZzDepartmentJob departmentJob);
}
